package com.hllxd.hism.star.basic.service.dao.mapper.doris;

import com.hllxd.hism.star.basic.service.model.doris.WordTopEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * doris访问
 *
 * @author fangpeiyun
 * @date 2022/3/8 15:09
 */

@Mapper
public interface DorisMapper {

    List<WordTopEntity> listInwordInfo(Map<String, Object> map);

    List<WordTopEntity> listInwordInfoWithRadio(Map<String, Object> map);

    List<WordTopEntity> listInwordInfoAgg(Map<String, Object> map);

    List<WordTopEntity> listAreaCateAgg(Map<String, Object> map);

    List<String> listAreaName(Map<String, Object> map);

    String getMaxDt();

    List<WordTopEntity> listWordChart(Map<String, Object> map);

    List<WordTopEntity> getAreaWordsTop(HashMap<String, Object> conditionMap);

    List<WordTopEntity> getCateWordsTop(HashMap<String, Object> conditionMap);

    List<WordTopEntity> getTopWords(HashMap<String, Object> conditionMap);
}
